package sicnu.cs.ich.api.domain.dto;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.sf.jsqlparser.statement.select.Pivot;
import org.springframework.format.annotation.DateTimeFormat;
import sicnu.cs.ich.api.domain.entity.ActivityComments;
import sicnu.cs.ich.api.domain.entity.ActivityTimeline;

import java.util.Date;
import java.util.List;

/**
 * @author 黎琦
 * @date 2021/12/2 18:27
 **/
@Data
public class CallDetailDTO {
    private Integer id;
    private String name;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date activityEndTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date callEndTime;

    private Integer likeNum;
    private Integer regionCode;
    private String regionDetail;
    private String imgUrl;
    private List<ActivityTimeline> timelines;
    private List<ActivityComments> comments;


}
